Stabilize core::io::{Error(Kind), IoSlice(Mut), Result} - #160951
Stabilize core::io::{Error(Kind), IoSlice(Mut), Result}#160951bushrat011899 wants to merge 1 commit into
core::io::{Error(Kind), IoSlice(Mut), Result}#160951Conversation
|
r? @JohnTitor rustbot has assigned @JohnTitor. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Error: Please file an issue on GitHub at triagebot if there's a problem with this bot, or reach out on #triagebot on Zulip. |
This comment has been minimized.
This comment has been minimized.
0161fa2 to
fb55b6e
Compare
|
CI failure caused by a |
This comment has been minimized.
This comment has been minimized.
fb55b6e to
500326c
Compare
This comment has been minimized.
This comment has been minimized.
a9329e7 to
c9ac89d
Compare
Subset of `core_io` renamed to `core_io_fundamentals` to minimize nightly churn.
c9ac89d to
1f00e29
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
r? nia-e |
|
@nia-e is there anything I should do to get a FCP started for this stabilization PR? Also apologies for the ping! |
|
oh, it should have been started! grr. well thankfully i can do it now. @rfcbot fcp merge libs |
|
@nia-e has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
|
To be honest, I still feel uneasy about providing a centralised and opinionated
While there are certainly some crates which could trivially switch over to
I think the current I cannot help but think an associated type design, like in To make this concern somewhat actionable, I think the best way forward here would be to solicit more feedback from all the relevant parties (especially the embedded and kernel people, since those are the main audience for @rfcbot concern solicit-feedback |
There is a plan to enable this functionality once default EII is supported. I would also argue there are potential- I would also argue that even if
To be clear, To the latter point, I'd say #133448 addresses that exact design perfectly while also maintaining the standardized type for a cohesive IO ecosystem.
The definition of |
View all comments
Tracking Issue: #154046
Stabilization Report: #154046 (comment)
Blocked On: #160952Description
This PR stabilizes a subset of the
core_iofeature, namely:core::io(the module)core::io::Errorcore::io::ErrorKindcore::io::Resultcore::io::IoSlicecore::io::IoSliceMutTo minimize churn, I've opted to mark the above as stable under a new feature,
core_io_fundamentals, leaving the unstable parts under the existingcore_iofeature. This PR does not propose stabilizationalloc_io, or re-exports ofcore::ioinalloc::io. That will be proposed at a later date for ease of review. I will note that I plan on submitted a stabilization PR foralloc_ioin its entirety in the future as context for reviewers here though.Notes